package com.Maykk.Demo03;

/**
 * @ClassName: DemoTest
 * @Description: TODO
 * @Author: MaykkStar@163.com
 */
public class DemoTest {
    public static void main(String[] args) {
        System.out.println(Direction.UP);
        System.out.println(Direction.LEFT);
        System.out.println(Direction.DOWN);
        System.out.println(Direction.RIGHT);

        System.out.println("''''''''''''''''''''''''''''''");
        System.out.println(
                Direction.UP + " ==> " +
                Direction.UP.getDirInfo() + " : " +
                Direction.UP.getData()
        );

        System.out.println(
                Direction.LEFT + " ==> " +
                Direction.LEFT.getDirInfo() + " : " +
                Direction.LEFT.getData()
        );

    }
}